package com.emip.dao;

import java.util.Date;
import java.util.List;

import com.emip.bean.DayStoreBean;

public interface DayStoreDAO {
	public DayStoreBean merge(DayStoreBean store);
	public List<DayStoreBean> getByTimespan(String startDate, String endDate, String[] itemIds, String siteId);
	long getCount(String startDate, String endDate, String[] itemIds, String siteId);
	public List<DayStoreBean> getByTimespan(String startDate, String endDate,
			String[] itemIds, String siteId, int page, int size);
	Date getLastDate(String itemId, String siteId);
	public Object[] getStatistics(String startDate, String endDate, String itemIds, String siteId);
	public DayStoreBean findByDay(String date, String siteId, String itemId);
}
